package com.ricky.spring.demo.config;

import com.ctrip.framework.apollo.spring.annotation.ApolloConfigChangeListener;
import com.google.common.collect.Maps;
import com.ricky.spring.demo.model.WxKefuConf;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

import javax.annotation.PostConstruct;
import java.util.List;
import java.util.Map;

/**
 * @author leiruiqi {@literal <leiruiqi@baijiahulian.com>}
 **/
@Configuration
@Slf4j
@Data
//@RefreshScope
@ConfigurationProperties(prefix = "wxapp.kefu")
public class WxKefuConfProperties {

    List<WxKefuConf> conf;

}
